public with sharing class Person {
    
    public String sname {
        set {this.sname = value + 'ab';}
        get {return sname;}
    }

    public void setSname(String sname) {
        this.sname = sname + 'aa';
    }

    public String getSname() {
        return this.sname;
    }

}